﻿@{
	Layout = "~/Views/Shared/_Index.cshtml";
	var infoTabView = Html.GetRuntimeUivIew("Details");
	var prifix = "Ac_AnyLog_Index_";
}
<div id="@(prifix)helperSplitter" class="mini-splitter helperSplitter" style="width: 100%; height: 100%;">
	<div showcollapsebutton="true">
		<div id="@(prifix)splitter" class="mini-splitter" vertical="true" style="width: 100%; height: 100%;">
			<div size="360" showcollapsebutton="true">
				<div class="mini-toolbar" style="border-left: 0; border-right: 0; border-top: 0px; padding: 2px;">
					<div style="float: left">
						@{Html.RenderPartial("Partials/UiViewButtons");}
					</div>
					<div style="float: right">
					</div>
					<div style="clear: both;">
					</div>
				</div>
				<!--撑满页面-->
				<div class="mini-fit">
					<div id="@(prifix)datagrid1" class="mini-datagrid" style="width:100%;height:100%;" allowAlternating="true" 
						url="@Url.Action("GetPlistAnyLogs")" idfield="Id" multiselect="true" 
						sizeList="[5,10,20,50]" pagesize="10" allowCellWrap="true" showFilterRow="true">
						<div property="columns">
							<div type="indexcolumn"></div>
							<div type="checkcolumn" width="70">
								<a id="@(prifix)btnSearchClear" property="filter" class="mini-button" style="float: right;">条件清空</a>
							</div>
							<div field="Machine" width="80" headeralign="center" allowsort="true">
								机器名
								<input id="@(prifix)MachineFilter" name="Machine" property="filter" class="mini-textbox" style="width: 100%;" />
							</div>
							<div field="Process" width="100" headeralign="center" allowsort="true">
								进程名
								<input id="@(prifix)ProcessFilter" name="Process" property="filter" class="mini-textbox" style="width: 100%;" />
							</div>
							<div field="BaseDirectory" width="300" headeralign="center" allowsort="true">
								基础目录
								<input id="@(prifix)BaseDirectoryFilter" name="BaseDirectory" property="filter" class="mini-textbox" style="width: 100%;" />
							</div>
							<div field="Res_ReasonPhrase" width="100" headeralign="center" allowsort="true">
								Res_ReasonPhrase
								<input id="@(prifix)Res_ReasonPhraseFilter" name="Res_ReasonPhrase" property="filter" class="mini-textbox" style="width: 100%;" />
							</div>
							<div field="Res_Description" width="300" headeralign="center" allowsort="true">
								Res_Description
								<input id="@(prifix)Res_DescriptionFilter" name="Res_Description" property="filter" class="mini-textbox" style="width: 100%;" />
							</div>
							<div field="Req_MessageType" width="50" headeralign="center" allowsort="true">
								Req_MessageType
								<input id="@(prifix)Req_MessageTypeFilter" name="Req_MessageType" property="filter" class="mini-textbox" style="width: 100%;" />
							</div>
							<div field="Req_Verb" width="50" headeralign="center" allowsort="true">
								Req_Verb
								<input id="@(prifix)Req_VerbFilter" name="Req_Verb" property="filter" class="mini-textbox" style="width: 100%;" />
							</div>
							<div field="Req_Ontology" width="50" headeralign="center" allowsort="true">
								Req_Ontology
								<input id="@(prifix)Req_OntologyFilter" name="Req_Ontology" property="filter" class="mini-textbox" style="width: 100%;" />
							</div>
							<div field="CreateOn" width="140" headeralign="center" dateformat="yyyy-MM-dd HH:mm:ss" allowsort="true">
								CreateOn
							</div>
						</div>
					</div>
				</div>
			</div>
			<div showcollapsebutton="true">
				<div id="@(prifix)tabs1" class="mini-tabs" style="width: 100%; height: 100%;display:none;"
					activeindex="0" bodystyle="padding:0;border:0;">
					<div name="infoTab" bodyCls="inner" title="@infoTabView.Title" iconStyle="background:url(/content/icons/16x16/@infoTabView.Icon)">
					</div>
				</div>
			</div>
		</div>
	</div>
	<div size="250" showcollapsebutton="true" visible="false" expanded="false">
		@{Html.RenderPartial("Partials/HelpPane");}
	</div>
</div>
